{{#userTools}}
<div class="panel panel-default">
  <div class="panel-body">
    <ul class="nav nav-pills nav-justified">
      <li><a rel="nofollow" href="{{{user.userEditProfilePageUrl}}}" class="{{^user.userEditProfilePageUrl}}disabled{{/user.userEditProfilePageUrl}}"><i class="fa fa-user"></i> 编辑个人信息</a></li>
      <li><a rel="nofollow" href="/user/preferences"><i class="fa fa-cogs"></i> 偏好设置</a></li>
    </ul>
    {{#canUploadScripts}}
    <!-- by ElmerZhang： 仅当用户有上传脚本权限时显示 -->
    <ul class="nav nav-pills nav-justified">
      <li><a rel="nofollow" href="/user/add/scripts"><i class="fa fa-file-code-o"></i> 新建脚本</a></li>
      <li><a rel="nofollow" href="/user/add/lib"><i class="fa fa-file-excel-o"></i> 新建脚本库</a></li>
    </ul>
    {{/canUploadScripts}}
  </div>
</div>
{{/userTools}}
